package com.hksj.Intelligentmanagement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("call_device_watch")
@ApiModel
public class CallDeviceWatchEntity extends BaseEntity {

    @ApiModelProperty("设备名称")
    private String name;

    @ApiModelProperty("设备编码")
    private String code;

    @ApiModelProperty("是否启用登录 0 = 禁用 1 = 启用")
    private Integer enableLogin;

    @ApiModelProperty("是否启用播报 0 = 禁用 1 = 启用")
    private Integer enableVoice;

    @ApiModelProperty("是否启动震动 0 = 禁用 1 = 启用")
    private Integer enableShook;

    @ApiModelProperty("启用状态 0 = 禁用 1 = 启用")
    private Integer state;

    @ApiModelProperty("逻辑删除")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer delFlag;

    @ApiModelProperty("备注")
    private String remark;

}
